{"ast":null,"code":"import DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport useStyle from './style';\nimport { ConfigContext } from '../config-provider';\nconst SkeletonNode = props => {\n  const {\n    prefixCls: customizePrefixCls,\n    className,\n    style,\n    active,\n    children\n  } = props;\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const cls = classNames(prefixCls, `${prefixCls}-element`, {\n    [`${prefixCls}-active`]: active\n  }, hashId, className);\n  const content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n  return wrapSSR( /*#__PURE__*/React.createElement(\"div\", {\n    className: cls\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classNames(`${prefixCls}-image`, className),\n    style: style\n  }, content)));\n};\nexport default SkeletonNode;","map":{"version":3,"names":["DotChartOutlined","classNames","React","useStyle","ConfigContext","SkeletonNode","props","prefixCls","customizePrefixCls","className","style","active","children","getPrefixCls","useContext","wrapSSR","hashId","cls","content","createElement"],"sources":["/data/messenger.client/node_modules/antd/es/skeleton/Node.js"],"sourcesContent":["import DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport useStyle from './style';\nimport { ConfigContext } from '../config-provider';\nconst SkeletonNode = props => {\n  const {\n    prefixCls: customizePrefixCls,\n    className,\n    style,\n    active,\n    children\n  } = props;\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const cls = classNames(prefixCls, `${prefixCls}-element`, {\n    [`${prefixCls}-active`]: active\n  }, hashId, className);\n  const content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n  return wrapSSR( /*#__PURE__*/React.createElement(\"div\", {\n    className: cls\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classNames(`${prefixCls}-image`, className),\n    style: style\n  }, content)));\n};\nexport default SkeletonNode;"],"mappings":"AAAA,OAAOA,gBAAgB,MAAM,6CAA6C;AAC1E,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,QAAQ,MAAM,SAAS;AAC9B,SAASC,aAAa,QAAQ,oBAAoB;AAClD,MAAMC,YAAY,GAAGC,KAAK,IAAI;EAC5B,MAAM;IACJC,SAAS,EAAEC,kBAAkB;IAC7BC,SAAS;IACTC,KAAK;IACLC,MAAM;IACNC;EACF,CAAC,GAAGN,KAAK;EACT,MAAM;IACJO;EACF,CAAC,GAAGX,KAAK,CAACY,UAAU,CAACV,aAAa,CAAC;EACnC,MAAMG,SAAS,GAAGM,YAAY,CAAC,UAAU,EAAEL,kBAAkB,CAAC;EAC9D,MAAM,CAACO,OAAO,EAAEC,MAAM,CAAC,GAAGb,QAAQ,CAACI,SAAS,CAAC;EAC7C,MAAMU,GAAG,GAAGhB,UAAU,CAACM,SAAS,EAAG,GAAEA,SAAU,UAAS,EAAE;IACxD,CAAE,GAAEA,SAAU,SAAQ,GAAGI;EAC3B,CAAC,EAAEK,MAAM,EAAEP,SAAS,CAAC;EACrB,MAAMS,OAAO,GAAGN,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAK,KAAK,CAAC,GAAGA,QAAQ,GAAG,aAAaV,KAAK,CAACiB,aAAa,CAACnB,gBAAgB,EAAE,IAAI,CAAC;EAC9H,OAAOe,OAAO,EAAE,aAAab,KAAK,CAACiB,aAAa,CAAC,KAAK,EAAE;IACtDV,SAAS,EAAEQ;EACb,CAAC,EAAE,aAAaf,KAAK,CAACiB,aAAa,CAAC,KAAK,EAAE;IACzCV,SAAS,EAAER,UAAU,CAAE,GAAEM,SAAU,QAAO,EAAEE,SAAS,CAAC;IACtDC,KAAK,EAAEA;EACT,CAAC,EAAEQ,OAAO,CAAC,CAAC,CAAC;AACf,CAAC;AACD,eAAeb,YAAY"},"metadata":{},"sourceType":"module"}